package com.kakarote.admin.entity.BO;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;

import javax.validation.constraints.NotEmpty;
import java.time.LocalDateTime;

/**
 * @author zhangzhiwei
 * BO业务逻辑代码
 */
@Data
@ToString
@ApiModel(value = "AdminCompany对象", description = "云平台公司配置表")
public class AdminCompanyCorrelationBO {



    @ApiModelProperty(value = "企业名称", required = true, example = "良心企业")
    @NotEmpty
    private String companyName;

    @ApiModelProperty(value = "过期时间")
    private LocalDateTime endTime;

    @ApiModelProperty(value = "企业LOGO", example = "/logo")
    private String companyLogo;

    @ApiModelProperty(value = "用户昵称")
    private String realName;

    @ApiModelProperty(value = "岗位名称")
    private String postName;

    @ApiModelProperty(value = "部门名称")
    private String deptName;

    @ApiModelProperty("企业类型 1 上级企业 2 下级企业")
    private Integer type;
}
